﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/******************************************************************************************
 ** 文件名：	Column.cs
 ** 创建人：	Tony Mucor
 ** 日期：	2013-07-17
 ** 描述：	栏目实体类
 *****************************************************************************************/

/// <summary>
/// Column 栏目实体类
/// </summary>
public class Column
{
	#region 属性
	private int nID;
	private string strName;
	private int nFatherID;
	private string strFatherName;
	private int nStatus;
	private string strLink;
	private int nGrade;
	private int nOrder;
	private int nType;
	private string strType;

	public int ID
	{
		get { return nID; }
		set { nID = value; }
	}

	public string Name
	{
		get { return strName; }
		set { strName = value.Trim(); }
	}

	public int FatherID
	{
		get { return nFatherID; }
		set { nFatherID = value; }
	}

	public string FatherName
	{
		get { return strFatherName; }
		set { strFatherName = value.Trim(); }
	}

	public string Link
	{
		get { return strLink; }
		set { strLink = value.Trim(); }
	}

	public int Grade
	{
		get { return nGrade; }
		set { nGrade = value; }
	}

	public int Status
	{
		get { return nStatus; }
		set { nStatus = value; }
	}

	public int Order
	{
		get { return nOrder; }
		set { nOrder = value; }
	}

	public int Type
	{
		get { return nType; }
		set { nType = value; }
	}

	public string TypeName
	{
		get { return strType; }
		set { strType = value.Trim(); }
	}

	#endregion

	#region 构造函数

	public Column()
	{

	}


	#endregion
}
